package com.zhz.lib.cms.domain.libnews;

import java.util.Date;

/**
 * Libnews entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Libnews implements java.io.Serializable {

    // Fields

    /**
     * 
     */
    private static final long serialVersionUID = 8709196831945268454L;
    /**
     * 
     */
    private Integer           libnewsId;
    private String            title;
    private String            content;
    private String            writer;
    private String            libnewsfrom;
    private String            keyword;
    private String            sortType;
    private Date              pubDate;
    private Integer           hit;
    private Integer           aproveState;
    private Date              aproveTime;
    private String            editor;
    private Date              editorTime;
    private Integer           ifDelete;

    // Constructors

    /** default constructor */
    public Libnews() {
    }

    /** minimal constructor */
    public Libnews(Integer ifDelete) {
        this.ifDelete = ifDelete;
    }

    /** full constructor */
    public Libnews(String title, String content, String editor, String writer, String libnewsfrom,
                   String keyword, Integer aproveState, Date aproveTime, String sortType,
                   Date pubDate, Integer hit, Integer ifDelete) {
        this.title = title;
        this.content = content;
        this.editor = editor;
        this.writer = writer;
        this.libnewsfrom = libnewsfrom;
        this.keyword = keyword;
        this.aproveState = aproveState;
        this.aproveTime = aproveTime;
        this.sortType = sortType;
        this.pubDate = pubDate;
        this.hit = hit;
        this.ifDelete = ifDelete;
    }

    // Property accessors

    public Integer getLibnewsId() {
        return this.libnewsId;
    }

    public void setLibnewsId(Integer libnewsId) {
        this.libnewsId = libnewsId;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getEditor() {
        return this.editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public String getWriter() {
        return this.writer;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public String getLibnewsfrom() {
        return this.libnewsfrom;
    }

    public void setLibnewsfrom(String libnewsfrom) {
        this.libnewsfrom = libnewsfrom;
    }

    public String getKeyword() {
        return this.keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getAproveState() {
        return this.aproveState;
    }

    public void setAproveState(Integer aproveState) {
        this.aproveState = aproveState;
    }

    public Date getAproveTime() {
        return this.aproveTime;
    }

    public void setAproveTime(Date aproveTime) {
        this.aproveTime = aproveTime;
    }

    public String getSortType() {
        return this.sortType;
    }

    public void setSortType(String sortType) {
        this.sortType = sortType;
    }

    public Date getPubDate() {
        return this.pubDate;
    }

    public void setPubDate(Date pubDate) {
        this.pubDate = pubDate;
    }

    public Integer getHit() {
        return this.hit;
    }

    public void setHit(Integer hit) {
        this.hit = hit;
    }

    public Date getEditorTime() {
        return editorTime;
    }

    public void setEditorTime(Date editorTime) {
        this.editorTime = editorTime;
    }

    public Integer getIfDelete() {
        return ifDelete;
    }

    public void setIfDelete(Integer ifDelete) {
        this.ifDelete = ifDelete;
    }

}